<%@page import="com.lagou.entity.Company"%>
<%@page import="com.lagou.biz.impl.CompanyBizImpl"%>
<%@page import="com.lagou.biz.CompanyBiz"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="/WEB-INF/MyPage.tld" prefix="pt"%>
<%
	String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">


<script type="text/javascript" async="" src="style/js/conversion.js"></script>
<script src="style/js/allmobilize.min.js" charset="utf-8"
	id="allmobilize"></script>
<style type="text/css"></style>
<meta content="no-siteapp" http-equiv="Cache-Control">
<link media="handheld" rel="alternate">
<!-- end 云适配 -->
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>拉勾管理员-最专业的互联网招聘平台</title>
<meta content="23635710066417756375" property="qc:admins">
<meta name="description" content="拉勾网是3W旗下的互联网领域垂直招聘网站">
<meta name="keywords"
	content="拉勾,拉勾网,拉勾招聘,拉钩, 拉钩网 ,互联网招聘,拉勾互联网招聘, 移动互联网招聘, 垂直互联网招聘, 微信招聘, 微博招聘, 拉勾官网, 拉勾百科,跳槽, 高薪职位, 互联网圈子, IT招聘, 职场招聘, 猎头招聘,O2O招聘, LBS招聘, 社交招聘, 校园招聘, 校招,社会招聘,社招">
<meta content="QIQ6KC1oZ6" name="baidu-site-verification">

<!-- <div class="web_root"  style="display:none">http://www.lagou.com</div> -->
<script type="text/javascript">
	var ctx = "http://www.lagou.com";
	console.log(1);
</script>
<link href="http://www.lagou.com/images/favicon.ico" rel="Shortcut Icon">
<link href="style/css/style.css" type="text/css" rel="stylesheet">
<link href="style/css/external.min.css" type="text/css" rel="stylesheet">
<link href="style/css/popup.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="style/js/jquery.1.10.1.min.js"></script>
<script src="style/js/jquery.lib.min.js" type="text/javascript"></script>
<script type="text/javascript" src="style/js/ajaxfileupload.js"></script>
<script src="style/js/additional-methods.js" type="text/javascript"></script>

<script src="style/js/jquery.ui.datetimepicker.min.js"
	type="text/javascript"></script>
<script src="style/js/received_resumes.min.js" type="text/javascript"></script>
<script>
	
</script>
<!--[if lte IE 8]>
    <script type="text/javascript" src="style/js/excanvas.js"></script>
<![endif]-->
<script type="text/javascript">
	var youdao_conv_id = 271546;
</script>
<script src="style/js/conv.js" type="text/javascript"></script>
<script src="style/js/ajaxCross.json" charset="UTF-8"></script>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body>
	<div id="body">
		<div id="header">
			<div class="wrapper">
				<a class="logo" href="index.html"> <img width="170" height="43"
					alt="拉勾招聘-专注互联网招聘" src="style/images/logo.png">
				</a>
				<ul id="navheader" class="reset">
					<li><a href="ToManagerServlet?flag=1">公司信息审核</a></li>
					<li><a href="ToManagerServlet?flag=2">招聘职位审核</a></li>
					<li><a href="ToManagerServlet?flag=3">应聘者信息审核</a></li>
					<li><a rel="nofollow" href="ToManagerServlet?flag=4">添加岗位</a></li>
					<li><a rel="nofollow" href="ForumServlet?op=forum5&aa=1">论坛管理</a></li>
				</ul>
				<dl class="collapsible_menu" style="width: 90px">
					<dt>
						<span>拉勾管理员&nbsp;</span> <span class="red" id="noticeDot-0"></span>
						<i></i>
					</dt>

					<dd class="logout">
						<a rel="nofollow" href="login.jsp">退出</a>
					</dd>
				</dl>

			</div>
		</div>
		<!-- end #header -->
		<c:if test="${a==1 }">
			<div id="container">

				<div>
					<dl class="company_center_content">
						<dt>
							<h1>
								<em></em> 公司信息 <span>（共${count }份）</span>
							</h1>
						</dt>
						<dd>
							<form action="canInterviewResumes.html" method="get"
								id="filterForm">

								<!-- end .filter_actions -->
								<div class="filter_options  dn " style="display: none;">

									<input type="hidden" value="0" name="filterStatus"
										id="filterStatus"> <input type="hidden" value=""
										name="positionId" id="positionId">
								</div>
								<!-- end .filter_options -->
								<ul class="reset resumeLists">
									<li data-id="1686182" class="onlineResume">
									<c:forEach
											items="${companylist }" var="n">

											<div class="resumeShow">
												<img src="${n.clogo }" />

												<div class="resumeIntro">
													<h3 class="unread" style="color: green">
														${n.cshortName}公司 <em></em>
													</h3>
													<div></div>
													<div>
														${n.cname}&nbsp;/&nbsp;${n.ccid }<br /> 主营：${n.fid }&nbsp;|&nbsp;${n.cdevelopment}&nbsp;|&nbsp;${n.ctag}
														<br />boss:${n.cboss}
													</div>
													<div class="jdpublisher">
													
													<c:forEach items="${businesslist }" var="b">
													<c:if test="${b.bid==n.bid }">
													<span> 公司状态：<c:if test="${b.bstatus==1 }">
					
														
            	合法
            	</c:if>
															<c:if test="${b.bstatus==0 }">
            	冻结中
            	</c:if>
														</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
														<span> 基本信息审核状态：<c:if test="${n.cstatus==1 }">
            	通过
            	</c:if>
															<c:if test="${n.cstatus==2 }">
            	不通过
            	</c:if>
														</span>
													
													
													</c:if>
													
													</c:forEach>
														
													</div>
												</div>


												<div class="links">公司&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;：
													<a data-deliverid="1686182" class="resume_refuse"
														href="ShenHeServlet?sh=1&id=1&bid=${n.bid }">解冻</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
														data-deliverid="1686182" class="resume_refuse"
														href="ShenHeServlet?sh=1&id=2&bid=${n.bid }">冻结</a><br/>基本信息：：
													<a data-deliverid="1686182" class="resume_refuse"
														href="ShenHeServlet?sh=1&id=3&bid=${n.bid }">审核通过</a> <a
														data-deliverid="1686182" class="resume_refuse"
														href="ShenHeServlet?sh=1&id=4&bid=${n.bid }">审核不通过</a>
												</div>
											</div>
										</c:forEach></li>
								</ul>
								<!-- end .resumeLists -->
							</form>
						</dd>
					</dl>
					<!-- end .company_center_content -->
				</div>
				<!-- end .content -->


				<script src="style/js/jquery.ui.datetimepicker.min.js"
					type="text/javascript"></script>
				<script src="style/js/received_resumes.min.js"
					type="text/javascript"></script>
				<script>
					
				</script>
				<div class="clear"></div>
				<input type="hidden" value="b4bc225f0d084ee5b8d045f9c98a49ff"
					id="resubmitToken"> <a rel="nofollow" title="回到顶部"
					id="backtop"></a>
			</div>
		</c:if>
		<c:if test="${a==2 }">
			<div id="container">

				<div>
					<dl class="company_center_content">
						<dt>
							<h1>
								<em></em> 招聘职位信息 <span>（共${count }份）</span>
							</h1>
						</dt>
						<dd>
							<form action="canInterviewResumes.html" method="get"
								id="filterForm">


								<ul class="reset resumeLists">
									<li data-id="1686182" class="onlineResume"><c:forEach
											items="${positionlist}" var="po">


											<div class="resumeShow">
												<img
													src="<c:forEach items="${companylist }" var="c">
								<c:if test="${po.cid==c.cid }">
								${c.clogo}
								</c:if>
								</c:forEach>" />

												<div class="resumeIntro">
													<h3 class="unread" style="color: green">

														<c:forEach items="${companylist }" var="c">
															<c:if test="${po.cid==c.cid }">
								${c.cname}
								</c:if>
														</c:forEach>
														<em></em>
													</h3>
													<span class="fr">投递时间：${po.releaseTime }</span>
													<div></div>
													<div>
														${po.pclass}&nbsp;/&nbsp;${po.pname }&nbsp;/&nbsp;${po.pdep }&nbsp;/&nbsp;${po.pnature }<br />
														薪资：${po.monthlyMin }&nbsp;k~&nbsp;${po.monthlyMax}&nbsp;k&nbsp;|&nbsp;${po.pcity }<br />
														${po.treatment }&nbsp;/&nbsp;${po.paddress }

													</div>
													<div class="jdpublisher">
														<span> 审核状态：<c:if test="${po.pstatus==1 }">
            	通过
            	</c:if>
															<c:if test="${po.pstatus==0 }">
            	审核中
            	</c:if>
            	<c:if test="${po.pstatus==2 }">
            	不通过
            	</c:if>
														</span>

													</div>

												</div>


												<div class="links">
													<a data-deliverid="1686182" class="resume_refuse"
														href="ShenHeServlet?sh=2&id=1&bid=${po.pid }">审核通过</a> <a
														data-deliverid="1686182" class="resume_refuse"
														href="ShenHeServlet?sh=2&id=2&bid=${po.pid }">审核不通过</a>
												</div>
											</div>
										</c:forEach></li>
								</ul>
								<!-- end .resumeLists -->
							</form>
						</dd>
					</dl>
					<!-- end .company_center_content -->
				</div>
				<!-- end .content -->


				<script src="style/js/jquery.ui.datetimepicker.min.js"
					type="text/javascript"></script>
				<script src="style/js/received_resumes.min.js"
					type="text/javascript"></script>
				<script>
					
				</script>
				<div class="clear"></div>
				<input type="hidden" value="b4bc225f0d084ee5b8d045f9c98a49ff"
					id="resubmitToken"> <a rel="nofollow" title="回到顶部"
					id="backtop"></a>
			</div>
		</c:if>
		<c:if test="${a==3 }">
			<div id="container">

				<div>
					<dl class="company_center_content">
						<dt>
							<h1>
								<em></em> 应聘者信息 <span>（共${count }份）</span>
							</h1>
						</dt>
						<dd>
							<form action="canInterviewResumes.html" method="get"
								id="filterForm">


								<ul class="reset resumeLists">
									<li data-id="1686182" class="onlineResume"><c:forEach
											items="${ublist}" var="po">


											<div class="resumeShow">
												<img src="${po.photo }" />

												<div class="resumeIntro">
													<h3 class="unread" style="color: green">
														${po.uname } <em></em>
													</h3>

													<div></div>
													<div>
														${po.ugender}&nbsp;/&nbsp;${po.ueducation }&nbsp;/&nbsp;${po.usn }<br />
														联系方式：手机：${po.phone }&nbsp;/&nbsp;qq邮箱：${po.user.uemail}<br />


													</div>
													<div class="jdpublisher">
													<c:forEach items="${ulist }" var="u">
													<c:if test="${u.uid==po.user.uid }">
													<span> 审核状态：<c:if test="${u.ustatus==1 }">
            	合法
            	</c:if>
															<c:if test="${u.ustatus==0 }">
            	冻结中
            	</c:if>
														</span>
													
													
													</c:if>
													
													
													</c:forEach>
														

													</div>

												</div>


												<div class="links">
													<a data-deliverid="1686182" class="resume_refuse"
														href="ShenHeServlet?sh=3&id=1&bid=${po.user.uid }">审核通过</a> <a
														data-deliverid="1686182" class="resume_refuse"
														href="ShenHeServlet?sh=3&id=2&bid=${po.user.uid }">审核不通过</a>
												</div>
											</div>
										</c:forEach></li>
								</ul>
								<!-- end .resumeLists -->
							</form>
						</dd>
					</dl>
					<!-- end .company_center_content -->
				</div>
				<!-- end .content -->


				<script src="style/js/jquery.ui.datetimepicker.min.js"
					type="text/javascript"></script>
				<script src="style/js/received_resumes.min.js"
					type="text/javascript"></script>
				<script>
					
				</script>
				<div class="clear"></div>
				<input type="hidden" value="b4bc225f0d084ee5b8d045f9c98a49ff"
					id="resubmitToken"> <a rel="nofollow" title="回到顶部"
					id="backtop"></a>
			</div>
		</c:if>
		<c:if test="${a==4 }">
			<script type="text/javascript">
				function getthird(oval) {
					$.ajax({
						url : "ManagerSecondServlet",
						type : "post",
						data : {
							myfrom : oval
						},
						success : function(data) {
							var returnj=JSON.parse(data);
							var str="";
							for (var i = 0; i < returnj.length; i++) {
								str+=returnj[i].tid+":"+ returnj[i].tName+"<br/>";
							}

	
							document.getElementById("mydiv").innerHTML=str;
					               
							 
							
						},
						error : function(d1, d2) {
							alert("此岗位还在开发中..");
						}

					});
				}
			</script>
			<div id="container">
				<div class="content_l">
					<form id="companyListForm" name="companyListForm" method="post"
						action="CompanyServlet?op=queryCompang1">
						<input type="hidden" id="city" name="city" value="全国" /> <input
							type="hidden" id="fs" name="fs" value="1" /> <input
							type="hidden" id="ifs" name="ifs" value="" /> <input
							type="hidden" id="ol" name="ol" value="" />
						<dl class="hc_tag">
							<dt>
								<c:forEach items="${flist }" var="f">
								 ${f.fType }&nbsp;<select id="${f.fType }" onclick="getthird(this.value)">
								<c:forEach var="s" items="${slist}">
								<c:if test="${ s.fid==f.fid}">
								<option value="${s.sid}">${s.sName}
								
								</option>
								</c:if>
								</c:forEach>
								
								</select>
								</c:forEach>
								
								
								
							</dt>

						</dl>
						<ul class="hc_list reset" id="dyn">
							<div id="mydiv" class="company_center_content" style="height: 600px"></div>


						</ul>


					</form>
					
				</div>
				
				<div>
					<dl class="company_center_content">


					</dl>
					<!-- end .company_center_content -->
					
				
				</div>
				<!-- end .content -->
<div class="content_r">
<script type="text/javascript">
function yi(){
	var yi = $('#yi').val();
	var y="yi";
	$.post("ManagerGWServlet", {
		gw: yi,from:y
	}, function(obj) {
		if (obj == "请您认真输入！") {
			$('#myspan1').html(obj);
		} else if(obj == "此一级类型已存在！") {
			$('#myspan1').html(obj);
		}else if(obj == "添加一级岗位类型成功！") {
			$('#myspan1').html(obj);
		}else if(obj == "一级类型名称过短！") {
			$('#myspan1').html(obj);
		}

	})
}
function er(){
	var er = $('#er').val();
	var eryi = $('#eryi').val();
	var e="er";
	$.post("ManagerGWServlet", {
		gw: er,from:e,liandong:eryi
	}, function(obj) {
		if (obj == "请您认真输入！") {
			$('#myspan2').html(obj);
		} else if(obj == "此二级类型已存在！") {
			$('#myspan2').html(obj);
		}else if(obj == "添加二级岗位类型成功！") {
			$('#myspan2').html(obj);
		}else if(obj == "您输入的一级岗位类型不存在！") {
			$('#myspan2').html(obj);
		}else if(obj == "二级类型名称过短！") {
			$('#myspan2').html(obj);
		}

	})
}
function san(){
	var san = $('#san').val();
	var s="san";
	var saner=$('#saner').val();
	$.post("ManagerGWServlet", {
		gw: san,from:s,liandong:saner
	}, function(obj) {
		if (obj == "请您认真输入！") {
			$('#myspan3').html(obj);
		} else if(obj == "此三级岗位已存在！") {
			$('#myspan3').html(obj);
		}else if(obj == "添加三级岗位成功！") {
			$('#myspan3').html(obj);
		}else if(obj == "您输入的二级岗位类型不存在！") {
			$('#myspan3').html(obj);
		}else if(obj == "三级岗位名称过短！") {
			$('#myspan3').html(obj);
		}

	})
}




</script>




<br/><br/><br/>
<input style="width: 250px;background-color: #5BC648" type="text" id="yi" value="" class="submitLogin" placeholder="请输入一级岗位名称"/>
						<input style="width: 250px;" type="button"  value="添加一级岗位类型" onclick="yi()" style="color: #fff;"
						class="submitLogin"  /><br/><br/><br/><br/><span id="myspan1"></span><br/><br/><br/><br/>
						
						<input style="width: 250px;background-color: #5BC648" type="text" id="eryi" placeholder="请输入所属一级岗位名称"  value="" class="submitLogin"/>
						<input style="width: 250px;background-color: #5BC648" type="text" id="er" placeholder="请输入二级岗位名称"  value="" class="submitLogin"/>
						<input style="width: 250px;" type="button" value="添加二级岗位类型" onclick="er()" style="color: #fff;"
						class="submitLogin"  /><br/><br/><br/><br/><br/><br/><span id="myspan2"></span><br/><br/><br/><br/>
						
						<input style="width: 250px;background-color: #5BC648" type="text" id="saner" placeholder="请输入所属二级岗位名称"  value="" class="submitLogin"/>
						<input style="width: 250px;background-color: #5BC648" type="text" id="san" placeholder="请输入三级岗位名称" value="" class="submitLogin"/>
						<input style="width: 250px;" type="button" value="添加三级岗位类型" onclick="san()" style="color: #fff;"
						class="submitLogin"  /><br/><br/><br/><br/><br/><br/><span id="myspan3"></span>

</div>

				<div class="clear"></div>
				<input type="hidden" value="b4bc225f0d084ee5b8d045f9c98a49ff"
					id="resubmitToken"> <a rel="nofollow" title="回到顶部"
					id="backtop"></a>
			</div>
		</c:if>
		<!-- end #container -->
	</div>
	<!-- end #body -->
	<div id="footer">
<p align="center"> 
        当前页[${index}],总页数[${pagecount}]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
        
        </p>
         <p align="center">
        <pt:page pageIndex="${index}" url="ToManagerServlet?" pageMax="${pagecount}"/>
        </p>
		<div class="wrapper">


			&copy;2013-2014 Lagou <a
				href="http://www.miitbeian.gov.cn/state/outPortal/loginPortal.action"
				target="_blank">京ICP备14023790号-2</a>

		</div>
	</div>

	<script src="style/js/core.min.js" type="text/javascript"></script>
	<script src="style/js/popup.min.js" type="text/javascript"></script>

	<!--  -->

	<script type="text/javascript">
		$(function() {
			$('#noticeDot-1').hide();
			$('#noticeTip a.closeNT').click(function() {
				$(this).parent().hide();
			});
		});
		var index = Math.floor(Math.random() * 2);
		var ipArray = new Array('42.62.79.226', '42.62.79.227');
		var url = "ws://" + ipArray[index] + ":18080/wsServlet?code=314873";
		var CallCenter = {
			init : function(url) {
				var _websocket = new WebSocket(url);
				_websocket.onopen = function(evt) {
					console.log("Connected to WebSocket server.");
				};
				_websocket.onclose = function(evt) {
					console.log("Disconnected");
				};
				_websocket.onmessage = function(evt) {
					//alert(evt.data);
					var notice = jQuery.parseJSON(evt.data);
					if (notice.status[0] == 0) {
						$('#noticeDot-0').hide();
						$('#noticeTip').hide();
						$('#noticeNo').text('').show().parent('a').attr('href',
								ctx + '/mycenter/delivery.html');
						$('#noticeNoPage').text('').show().parent('a').attr(
								'href', ctx + '/mycenter/delivery.html');
					} else {
						$('#noticeDot-0').show();
						$('#noticeTip strong').text(notice.status[0]);
						$('#noticeTip').show();
						$('#noticeNo').text('(' + notice.status[0] + ')')
								.show().parent('a').attr('href',
										ctx + '/mycenter/delivery.html');
						$('#noticeNoPage').text(' (' + notice.status[0] + ')')
								.show().parent('a').attr('href',
										ctx + '/mycenter/delivery.html');
					}
					$('#noticeDot-1').hide();
				};
				_websocket.onerror = function(evt) {
					console.log('Error occured: ' + evt);
				};
			}
		};
		CallCenter.init(url);
	</script>

	<div id="cboxOverlay" style="display: none;"></div>
	<div id="colorbox" class="" role="dialog" tabindex="-1"
		style="display: none;">
		<div id="cboxWrapper">
			<div>
				<div id="cboxTopLeft" style="float: left;"></div>
				<div id="cboxTopCenter" style="float: left;"></div>
				<div id="cboxTopRight" style="float: left;"></div>
			</div>
			<div style="clear: left;">
				<div id="cboxMiddleLeft" style="float: left;"></div>
				<div id="cboxContent" style="float: left;">
					<div id="cboxTitle" style="float: left;"></div>
					<div id="cboxCurrent" style="float: left;"></div>
					<button type="button" id="cboxPrevious"></button>
					<button type="button" id="cboxNext"></button>
					<button id="cboxSlideshow"></button>
					<div id="cboxLoadingOverlay" style="float: left;"></div>
					<div id="cboxLoadingGraphic" style="float: left;"></div>
				</div>
				<div id="cboxMiddleRight" style="float: left;"></div>
			</div>
			<div style="clear: left;">
				<div id="cboxBottomLeft" style="float: left;"></div>
				<div id="cboxBottomCenter" style="float: left;"></div>
				<div id="cboxBottomRight" style="float: left;"></div>
			</div>
		</div>
		<div
			style="position: absolute; width: 9999px; visibility: hidden; display: none;"></div>
	</div>
	<div
		class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"
		id="ui-datepicker-div"></div>
</body>
</html>
